function getClickTag(myObj){
	var catho_script = document.getElementById(myObj).src;
	if (catho_script != "undefine" && catho_script){
		var catho_qs_position = catho_script.indexOf("?") + 1;
		var catho_script_qs = catho_script.substring(catho_qs_position,9999);
		var catho_array = catho_script_qs.split("clicktag=");
		return catho_array[1];
	} else {
		return "";
	}
}
// Leaderboard
function initCampaign728x90(campaign,clicktag){
	document.write("<iframe src='http://img.catho.com.br/ads/banners/"+campaign+"/campaign728x90.html?clicktag="+clicktag+"' width='728' height='90' frameborder='0' marginwidth='0' framespacing='0' marginheight='0' scrolling='no'></iframe>");
}

// Fullbanner
function initCampaign468x60(campaign,clicktag){
	document.write("<iframe src='http://img.catho.com.br/ads/banners/"+campaign+"/campaign468x60.html?clicktag="+clicktag+"' width='468' height='60' frameborder='0' marginwidth='0' framespacing='0' marginheight='0' scrolling='no'></iframe>");
}

//Half Banner
function initCampaign234x60(campaign,clicktag){
	document.write("<iframe src='http://img.catho.com.br/ads/banners/"+campaign+"/campaign234x60.html?clicktag="+clicktag+"' width='234' height='60' frameborder='0' marginwidth='0' framespacing='0' marginheight='0' scrolling='no'></iframe>");
}

//Rectangle
function initCampaign180x150(campaign,clicktag){
	document.write("<iframe src='http://img.catho.com.br/ads/banners/"+campaign+"/campaign180x150.html?clicktag="+clicktag+"' width='180' height='150' frameborder='0' marginwidth='0' framespacing='0' marginheight='0' scrolling='no'></iframe>");
}

//Button
function initCampaign125x125(campaign,clicktag){
	document.write("<iframe src='http://img.catho.com.br/ads/banners/"+campaign+"/campaign125x125.html?clicktag="+clicktag+"' width='125' height='125' frameborder='0' marginwidth='0' framespacing='0' marginheight='0' scrolling='no'></iframe>");
}

//Microbar
function initCampaign88x31(campaign,clicktag){
	document.write("<iframe src='http://img.catho.com.br/ads/banners/"+campaign+"/campaign88x31.html?clicktag="+clicktag+"' width='88' height='31' frameborder='0' marginwidth='0' framespacing='0' marginheight='0' scrolling='no'></iframe>");
}

//Large Rectangle
function initCampaign336x280(campaign,clicktag){
	document.write("<iframe src='http://img.catho.com.br/ads/banners/"+campaign+"/campaign336x280.html?clicktag="+clicktag+"' width='336' height='280' frameborder='0' marginwidth='0' framespacing='0' marginheight='0' scrolling='no'></iframe>");
}

//Medium Rectangle
function initCampaign300x250(campaign,clicktag){
	document.write("<iframe src='http://img.catho.com.br/ads/banners/"+campaign+"/campaign300x250.html?clicktag="+clicktag+"' width='300' height='250' frameborder='0' marginwidth='0' framespacing='0' marginheight='0' scrolling='no'></iframe>");
}

//Skyscrapper
function initCampaign120x600(campaign,clicktag){
	document.write("<iframe src='http://img.catho.com.br/ads/banners/"+campaign+"/campaign120x600.html?clicktag="+clicktag+"' width='120' height='600' frameborder='0' marginwidth='0' framespacing='0' marginheight='0' scrolling='no'></iframe>");
}

//Wide Skyscrapper
function initCampaign160x600(campaign,clicktag){
	document.write("<iframe src='http://img.catho.com.br/ads/banners/"+campaign+"/campaign160x600.html?clicktag="+clicktag+"' width='160' height='600' frameborder='0' marginwidth='0' framespacing='0' marginheight='0' scrolling='no'></iframe>");
} 

//Half Page Ad
function initCampaign300x600(campaign,clicktag){
	document.write("<iframe src='http://img.catho.com.br/ads/banners/"+campaign+"/campaign300x600.html?clicktag="+clicktag+"' width='300' height='600' frameborder='0' marginwidth='0' framespacing='0' marginheight='0' scrolling='no'></iframe>");
} 

//190x60
function initCampaign190x60(campaign,clicktag){
	document.write("<iframe src='http://img.catho.com.br/ads/banners/"+campaign+"/campaign190x60.html?clicktag="+clicktag+"' width='190' height='60' frameborder='0' marginwidth='0' framespacing='0' marginheight='0' scrolling='no'></iframe>");
} 

//3:1 Rectangle - 300x100
function initCampaign300x100(campaign,clicktag){
	document.write("<iframe src='http://img.catho.com.br/ads/banners/"+campaign+"/campaign300x100.html?clicktag="+clicktag+"' width='300' height='100' frameborder='0' marginwidth='0' framespacing='0' marginheight='0' scrolling='no'></iframe>");
} 
//3:1 Rectangle - 254x430
function initCampaign300x100(campaign,clicktag){
	document.write("<iframe src='http://img.catho.com.br/ads/banners/"+campaign+"/campaign254x430.html?clicktag="+clicktag+"' width='254' height='430' frameborder='0' marginwidth='0' framespacing='0' marginheight='0' scrolling='no'></iframe>");
} 